import { post } from "@/utils/request";

export default {
  findPage: (query) => post("/api/admin/wj/findPage", query),
  generate: (query) => post("/api/admin/generate", query),
  pageList: (query) => post("/api/admin/exam/paper/page", query),
  taskExamPage: (query) => post("/api/admin/exam/paper/taskExamPage", query),
  add: (query) => post("/api/admin/wj/add", query),
  edit: (query) => post("/api/admin/wj/edit", query),
  select: (id) => post("/api/admin/exam/paper/select/" + id),
  deletePaper: (id) => post("/api/admin/wj/delete/" + id),
};
